// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//引入normalize.css初始化样式表
import './assets/styles/normalize.css'
//引入fastclick模块
import fastClick from 'fastclick'
// 初始化激活fastclick
fastClick.attach(document.body)
//引入移动端适配模块
import './assets/lib/flexible.js'
//1px边框问题，引入border.css解决多倍屏下边框加粗问题
import './assets/styles/border.css'
//引入axios并挂载到Vue实例上
import axios from 'axios'
Vue.prototype.$axios = axios
//使用vue-wechat-title插件对页面标题进行设置
import VueWechatTitle from 'vue-wechat-title'; 
Vue.use(VueWechatTitle)
// 全局---引入swiper轮播模块vue-awesome-swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
// require styles引入swiper.css轮播样式表
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default global options } */)
// vuex--引入vuex仓库，自动寻找该目录下的index.js文件，所以可以不加/index.js
import store from './store'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})









